<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript">
var result = '${result}';
var method = '${param.method}';
if(result==1){
		alert("操作成功！");
		//window.location.href="/cnaps/userManage!frame.do";
		if(method=='edit'){
			window.opener.parent.document.forms[0].submit();
			window.close();
		}else{
			window.opener.document.forms[0].submit();
			window.close();	
		}
		
}else{
		alert("操作不成功,请重试！");
		history.back();	
}
</script>
